-
Home
-
WP 2FA – Two-factor authentication for WordPress
-
1.5.2
-
Code
-
Classes
- WP2FA
Total Complexity |
110 |
Dependencies |
15 |
Dependents |
15 |
Total lines |
668 |
Lines of code |
431 |
Logical lines of code |
251 |
Comment lines |
137 |
Methods |
14 |
Properties |
4 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_user_excluded() |
C |
36 |
26 |
76 |
block_unconfigured_users_from_admin() |
B |
45 |
19 |
36 |
add_actions() |
A |
39 |
11 |
60 |
get_wp2fa_email_templates() |
A |
38 |
10 |
69 |
handle_send_test_email_ajax() |
A |
45 |
12 |
39 |
replace_email_strings() |
A |
46 |
8 |
39 |
get_wp2fa_setting() |
S |
46 |
6 |
41 |
setup_redirect() |
S |
56 |
5 |
18 |
init() |
S |
53 |
3 |
21 |
add_wizard_actions() |
S |
69 |
3 |
6 |
__construct() |
S |
61 |
2 |
12 |
get_instance() |
S |
71 |
2 |
6 |
is_this_multisite() |
S |
79 |
2 |
3 |
wp_2fa_get_roles() |
S |
74 |
1 |
5 |